Skip to content

feat(meeting-scheduler): the booking window is one component, MeetingSchedulerModal. CU-17tkuw61cm3 - #2861

Merged
romanivan-flamingo merged 1 commit into
mainfrom
refactor/book-call-modal-lib
Oct 28, 2026
Merged

romanivan-flamingo merged 1 commit into
mainfrom
refactor/book-call-modal-lib

Conversation

@romanivan-flamingo

@romanivan-flamingo romanivan-flamingo commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The OpenFrame "Book an Onboarding Call" popup was put together in the app from lib parts: ModalV2, HubSpotMeetingScheduler in layout="modal", and an app-side "Call booked" toast. So no other app could show the same window without re-assembling it.

MeetingSchedulerModal is that whole window, exported from components/meeting-scheduler:

  • the 600px ModalV2 with the title;
  • the scheduler in its modal layout, with its own loading state while the host reads the link, and emptyMessage when there is none;
  • the "Call booked" toast (the booked time in the lib's booking date format, with its zone);
  • closing on a confirmed booking and on a phone's Cancel; onBooked still reports the booking.

The host passes the SchedulingLink it resolved, not a meeting id: the same read usually decides whether the entry point is offered at all, so the window does not read the directory again. It lives in index.tsx beside the scheduler, since a separate file importing the scheduler from the entry point would be an import cycle.

docs/EMBEDDING_HUBSPOT_MEETINGS.md gets a section on it. HubSpotMeetingScheduler itself is unchanged.

ClickUp: https://app.clickup.com/t/17tkuw61cm3

Test plan

  • meeting-scheduler-modal.test.tsx: 5 new cases (titled window around the modal layout; empty line without a link; loading holds the scheduler's place; Cancel closes; a booking toasts, reports and closes), 10/10 pass
  • npm run lint, npm run type-check, type-aware ESLint on the changed files, Prettier
  • Packed build installed in openframe-oss-frontend and checked live on QA: desktop and phone width, calendar, Continue to the form, close (no booking submitted)

Change-Set: refactor-book-call-modal-lib

🤖 Generated with Claude Code

Change set flamingo-stack/refactor-book-call-modal-lib: these pull requests are one change, reviewed together.

Linked work

  • …and 1 linked item not shown here

Linked by the Depends-On / Change-Set lines in these descriptions; this block is maintained by the hub.

…SchedulerModal. CU-17tkuw61cm3

The "Book an Onboarding Call" window was put together in the OpenFrame app
from lib parts: ModalV2, HubSpotMeetingScheduler in its modal layout, and an
app-side "Call booked" toast. MeetingSchedulerModal is that whole window:
the 600px modal with its title, the scheduler in layout="modal", its loading
and empty states, the booked toast, and closing on a booking or a phone's
Cancel. A host passes the link it resolved, not a meeting id, since the same
read usually decides whether the entry point is offered at all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michaelassraf

Copy link
Copy Markdown
Member

@github-actions

Copy link
Copy Markdown
Contributor

🦩 Flamingo Code Review

Not reviewed yet. Reviews start when you ask, so the reviewer reads this pull request when it is ready, not when it is opened.

When it is ready:

  • Review this pull request

Or comment @flamingo-review. Add the flamingo-review-always label to review every push.

Updated 2026-10-28 15:46 UTC · workflow run

@romanivan-flamingo
romanivan-flamingo added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit 9904483 Oct 28, 2026
22 checks passed
@romanivan-flamingo
romanivan-flamingo deleted the refactor/book-call-modal-lib branch October 28, 2026 16:00
oleksandr-blip added a commit that referenced this pull request Oct 29, 2026
…nto feature/directory-connection-customers. CU-17tkuw5z06b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants